<template>
  <div>
    <!--我的资产-->
    <div class="div1">
      <p>我的资产</p>
      <div class="space-around">
        <span>
          <img src="../Profile/imges/hb.png"><a>红包</a>
        </span>
          <span>
          <img src="../Profile/imges/djj.png"><a>代金券</a>
        </span>
          <span>
          <img src="../Profile/imges/jt.png"><a>津贴</a>
        </span>
      </div>
    </div>
    <!--我的收藏-->
    <div class="div2">
      <p>我的收藏</p>
      <span>暂无收藏,添加收藏更快找到你的菜~</span>
      <button>+添加收藏</button>
    </div>
    <!--我的钱包-->
    <div class="div3">
      <div>
        <p>我的钱包</p>
        <span class="spans">
          进入钱包<img src="../Profile/imges/fanhui.png">
        </span>
      </div>
      <div class="space">
        <span>
          <span>5 <a>元</a> </span>
          <div>新人福利</div>
          <a>最低可领 </a>
        </span>
        <span>
          <span>6<a>月</a> </span>
          <div>我的账单</div>
          <a>消费记录 </a>
        </span>
        <span>
          <span>5 <a>家</a> </span>
          <div>银行优惠</div>
          <a>满减活动 </a>
        </span>
        <span>
          <span>5 <a>张</a> </span>
          <div>优惠券</div>
          <a>免费领 </a>
        </span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Neck"
}
</script>

<style scoped>
  *{
    margin-bottom: 10px;
  }
  .div1{
    background-color: #f8f7f7;
    border-radius: 10px;
    padding-top: 2px;
  }
  .space-around{
    display: flex;
    justify-content: space-around;
  }
  .div1 > div > span > a{
    position: relative;
    bottom: 20px;
  }
  .div1 > div > span >img{
    width: 30px;
    height: 30px;
  }
  .div2{
    background-color: #f8f7f7;
    border-radius: 10px;
    padding-bottom: 10px;
    padding-top: 1px;
  }
  .div2 > span{
    font-size: 10px;
    color: #b8b7b7;
  }
  .div2 >button{
    background: #ffe31a;
    border: none;
    border-radius: 5px;
    float: right;
  }
  .div3{
    background-color: #f8f7f7;
    border-radius: 10px;
    padding-bottom: 5px;
  }
  .div3 > div{
    display: flex;
  }
  .spans{
    font-size: 10px;
    position: absolute;
    margin-top: 12px;
    right: 0;
  }
  .div3 > div > span > img{
    width: 10px;
    height: 10px;
    position: relative;
    top: 11px;
    margin-left: 10px;
  }
  .space{
    display: flex;
    justify-content: space-around;
  }
  .space > span{
    text-align: center;
  }
  .space > span > span{
    font-size: 17px;
  }
  .space > span > span > a{
    font-size: 10px;
    color: #6d6d6d;
  }
  .space > span > div{
    font-size: 13px;
    color: #878787;
  }
  .space > span > a{
    font-size: 5px;
    color: #b8b6b6;
  }
</style>
